package com.ny.service;
import com.ny.entity.Order;
import java.sql.SQLException;
import java.util.List;


public interface OrderService {

    int addOrder(Order order) throws SQLException, ClassNotFoundException;


    List<Order> getAllOrders();

    Order getOrderById(int id);

    int deleteOrder(int id);
}